package com.zescs.papillon;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.netflix.zuul.EnableZuulServer;

@Slf4j
@EnableZuulServer
@SpringBootApplication
public class ZullApplication {

    public static void main(String[] args) {
        log.info("系统开始启动");
        new SpringApplicationBuilder(ZullApplication.class).web(WebApplicationType.SERVLET).run(args);
        log.info("系统启动成功");
    }

}
